package com.rul.mars.user.service;

import com.rul.mars.mbg.domain.ReceiveAddressDetail;

import java.util.List;

/**
 * 用户收货地址服务
 *
 * @author RuL
 */
public interface UserAddressService {

    ReceiveAddressDetail detail(Long id);

    List<ReceiveAddressDetail> listAddressDetail();

    boolean deleteAddress(Long id);

    boolean updateAddress(ReceiveAddressDetail detail);

    void setAsDefault(Long id);

    void addReceiveAddress(ReceiveAddressDetail detail);
}
